package com.hxm.demo.huawei;

import java.util.List;

/**
 * description: add a description
 *
 * @author huangxiaoming
 * @version 1.0.0
 * @date 2023/06/08 19:00:15
 */
public class Test11 {

    public static void main(String[] args) {
        Boolean flag = false;
        devide(flag, 15);
        System.out.println(flag);
    }

    private static void devide(Boolean flag, Integer i) {
        if ((i = i / 2) == 1) {
            flag = true;
            return;
        } else {
            devide(flag, i);
        }
    }
}
